|
|
|
|
|
|
|
Figure 18.10.
Displaying the rdoResultset properties. |
|
|
|
|
|
|
|
|
You also can open an rdoTable object from the rdoConnection object. This object contains information about each of the columns in the base table that exist on the remote data source. You can use the rdoTables collection to get a listing of all the base objects available through the rdoConnection. The rdoTables collection returns more than just the defined base tables. You also receive all the stored queries (views) available at the remote data source. |
|
|
|
|
| |
|
|
|
|
The rdoTable object is included in Visual Basic 5.0 for backward compatibility with previous versions of the RDO Engine. Although the rdoTable object works as expected in this version of Visual Basic, it might not be supported in future versions of Visual Basic. |
|
|
|
|
|
|
|
|
|
|
Add a new button to the project. Set its Name property to cmdRDOTables and its Caption to RDO Tables. Now add the code in Listing 18.11 to the cmdRDOTables_Click event. |
|
|
|
|
|
|
|
|
Listing 18.11. Coding the cmdRDOTables_Click event. |
|
|
|
|
|
|
|
|
Private Sub cmdRDOTables_Click()
'
' get rdo table collection
'
Dim rdoEnv As rdoEnvironment
Dim rdoCon As rdoConnection
Dim rdoTbl As rdoTable
Dim strMsg As String
' |
|
|
|
|
|